package org.farm2.skc.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.NoArgsConstructor;

/**知识 
 * @author cbtg自动生成  2025-2-4 12:13:51 
 */
@Data
@NoArgsConstructor
public class SkcKnowDto {
    //@RegExValidator(type = ValidType.loginName)//自定义校验方法
   
    private String id;
    @NotBlank(message = "{farm2.validate.template.notnull}")
    @Size(min = 0, max = 256, message = "{farm2.validate.template.size}")
    private String title;

    @Size(min = 0, max = 1024, message = "{farm2.validate.template.size}")
    private String docdescribe;

    private String knowmodel;

    @Size(min = 0, max = 64, message = "{farm2.validate.template.size}")
    private String author;

    private String pubtime;

    @Size(min = 0, max = 512, message = "{farm2.validate.template.size}")
    private String source;

    private String state;

    private String ctime;

    private String etime;
    @NotBlank(message = "{farm2.validate.template.notnull}")
    @Size(min = 0, max = 64, message = "{farm2.validate.template.size}")
    private String cusername;

    private String cuserkey;
    @NotBlank(message = "{farm2.validate.template.notnull}")
    @Size(min = 0, max = 64, message = "{farm2.validate.template.size}")
    private String eusername;

    private String euserkey;

    @Size(min = 0, max = 128, message = "{farm2.validate.template.size}")
    private String pcontent;

    private String runinfoid;

    private String syncid;

    private String versionid;

    private Integer sno;

    private String validitys;

    private String validitye;
    private String text;
}